package com.github.nuggets.model.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.github.nuggets.constant.jwt.TokenEnhancerConstants;
import lombok.Data;

/**
 * @description:
 * @author: wangsj
 * @date: 2022/3/18 1:59 下午
 */

@Data
public class LoginAccountInfo {

    @JSONField(name = TokenEnhancerConstants.ACCOUNT_ID)
    private Long id;

    @JSONField(name = TokenEnhancerConstants.ACCOUNT_USER_NAME)
    private String userName;

    @JSONField(name = TokenEnhancerConstants.ACCOUNT_NICK_NAME)
    private String nickName;

    @JSONField(name = TokenEnhancerConstants.ACCOUNT_ROLE)
    private String role;

    @JSONField(name = TokenEnhancerConstants.LOGIN_TIME)
    private String loginTime;

}
